<script setup lang='ts'>
import { ref } from 'vue'

const want = 'getMarried'

</script>

<template>
  <div>
    <div>
      这段想要展示插槽
    </div>
    <slot>默认显示</slot>
    <slot name="haveName"></slot>

    <slot name="dataSlot" :want="want"></slot>
  </div>
</template>

<style lang='scss' scoped>

</style>